import Layout from '/@vab/layouts/index.vue'
import { VabRouteRecordRaw } from '../types'
const procureRouter: VabRouteRecordRaw[] = [
  {
    path: '/set',
    name: 'Setting',
    component: Layout,
    authName: 'Setting.all',
    meta: {
      title: '系统设置',
      icon: 'settings-4-line',
      authShow: true
    },
    children: [
      {
        path: 'role',
        name: 'SetRole',
        authName: 'SetRole.all',
        component: () => import('/@/views/setting/role.vue'),
        meta: {
          title: '账户管理',
          noKeepAlive: true,
          authShow: true
        },
      },
    ],
  },
]

export default procureRouter
